package top.gbiot.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.gbiot.common.annotation.Excel;
import top.gbiot.common.core.domain.BaseEntity;

/**
 * 项目管理对象 iot_project
 * 
 * @author gb
 * @date 2021-02-09
 */
public class IotProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目标识 */
    private String projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String projectType;

    /** 项目位置 */
    @Excel(name = "项目位置")
    private String projectPosition;

    /** 项目联系人 */
    @Excel(name = "项目联系人")
    private String projectLinkman;

    /** 项目联系人电话 */
    @Excel(name = "项目联系人电话")
    private String projectTel;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String projectDescription;

    /** 项目通信协议 */
    @Excel(name = "项目通信协议")
    private String projectProtocol;

    /** 项目通信apiKey */
    @Excel(name = "项目通信apiKey")
    private String projectApikey;

    /** 备注 */
    private String note;

    /** 项目图片 */
    private String projectImg;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifier;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectType(String projectType) 
    {
        this.projectType = projectType;
    }

    public String getProjectType() 
    {
        return projectType;
    }
    public void setProjectPosition(String projectPosition) 
    {
        this.projectPosition = projectPosition;
    }

    public String getProjectPosition() 
    {
        return projectPosition;
    }
    public void setProjectLinkman(String projectLinkman) 
    {
        this.projectLinkman = projectLinkman;
    }

    public String getProjectLinkman() 
    {
        return projectLinkman;
    }
    public void setProjectTel(String projectTel) 
    {
        this.projectTel = projectTel;
    }

    public String getProjectTel() 
    {
        return projectTel;
    }
    public void setProjectDescription(String projectDescription) 
    {
        this.projectDescription = projectDescription;
    }

    public String getProjectDescription() 
    {
        return projectDescription;
    }
    public void setProjectProtocol(String projectProtocol) 
    {
        this.projectProtocol = projectProtocol;
    }

    public String getProjectProtocol() 
    {
        return projectProtocol;
    }
    public void setProjectApikey(String projectApikey) 
    {
        this.projectApikey = projectApikey;
    }

    public String getProjectApikey() 
    {
        return projectApikey;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setProjectImg(String projectImg) 
    {
        this.projectImg = projectImg;
    }

    public String getProjectImg() 
    {
        return projectImg;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }
    public void setModifyDate(Date modifyDate) 
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("projectType", getProjectType())
            .append("projectPosition", getProjectPosition())
            .append("projectLinkman", getProjectLinkman())
            .append("projectTel", getProjectTel())
            .append("projectDescription", getProjectDescription())
            .append("projectProtocol", getProjectProtocol())
            .append("projectApikey", getProjectApikey())
            .append("note", getNote())
            .append("projectImg", getProjectImg())
            .append("creator", getCreator())
            .append("createDate", getCreateDate())
            .append("modifier", getModifier())
            .append("modifyDate", getModifyDate())
            .toString();
    }
}
